package com.zhuoyue.system.service.impl;

import java.util.List;

import com.zhuoyue.common.annotation.DataScope;
import com.zhuoyue.system.domain.po.TblRoomPo;
import com.zhuoyue.system.domain.vo.TblRoomVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zhuoyue.system.mapper.TblRoomMapper;
import com.zhuoyue.system.service.ITblRoomService;

/**
 * 房间Service业务层处理
 *
 * @author hewenze
 * @date 2020-08-06
 */
@Service
public class TblRoomServiceImpl implements ITblRoomService {
    @Autowired
    private TblRoomMapper tblRoomMapper;


    /**
     * 查询房间列表
     *
     * @param tblAppRoomPo 房间
     * @return 房间
     */
    @Override
    @DataScope(deptAlias = "s_d")
    public List<TblRoomVo> selectTblRoomList(TblRoomPo tblAppRoomPo) {
        return tblRoomMapper.selectTblRoomList(tblAppRoomPo);
    }
}
